// 引入createStore，专门用于创建redux中最核心的store对象
// 引入applyMiddleware，执行thunk中间件，使得redux那个执行异步action
import {createStore,applyMiddleware} from "redux"
// 引入count组件服务的reducer
import countReducer from "./count_redux"
import thunk from "redux-thunk"
export default createStore(countReducer,applyMiddleware(thunk))